package com.xjk.ftp;

public class SftpConfig{

        private String serverName; // 服务器地址

        private String userName; // 用户名

        private Integer port = 22; // 端口

        private String password; // 密码

        private Integer timeOut = 180000; // 超时时间

        private int retry = 2;// 重试次数默认为1

        private int retryTime = 1000;// 重试间隔时间

        private String privateKey;

        private String privatePassphrase;

        public String getServerName(){
            return serverName;
        }

        public void setServerName(String serverName){
            this.serverName = serverName;
        }

        public String getUserName(){
            return userName;
        }

        public void setUserName(String userName){
            this.userName = userName;
        }

        public Integer getPort(){
            return port;
        }

        public void setPort(Integer port){
            this.port = port;
        }

        public String getPassword(){
            return password;
        }

        public void setPassword(String password){
            this.password = password;
        }

        public Integer getTimeOut(){
            return timeOut;
        }

        public void setTimeOut(Integer timeOut){
            this.timeOut = timeOut;
        }

        public int getRetry(){
            return retry;
        }

        public void setRetry(int retry){
            this.retry = retry;
        }

        public int getRetryTime(){
            return retryTime;
        }

        public void setRetryTime(int retryTime){
            this.retryTime = retryTime;
        }

        public String getPrivateKey(){
            return privateKey;
        }

        public void setPrivateKey(String privateKey){
            this.privateKey = privateKey;
        }

        public String getPrivatePassphrase(){
            return privatePassphrase;
        }

        public void setPrivatePassphrase(String privatePassphrase){
            this.privatePassphrase = privatePassphrase;
        }

    }